package com.ruoyi.project.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 位置对象 sys_address
 * 
 * @author orange
 * @date 2022-04-08
 */
public class SysAddress extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 配送编号 */
    @Excel(name = "配送编号")
    private Long addressId;

    /** 用户编号 */
    @Excel(name = "用户编号")
    private Long ownerId;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String detailedAddress;

    /** 电话 */
    @Excel(name = "电话")
    private String phone;

    /** 标签 */
    @Excel(name = "标签")
    private String tag;

    /** 收货人姓名 */
    @Excel(name = "收货人姓名")
    private String consigneeName;

    public void setAddressId(Long addressId) 
    {
        this.addressId = addressId;
    }

    public Long getAddressId() 
    {
        return addressId;
    }
    public void setOwnerId(Long ownerId) 
    {
        this.ownerId = ownerId;
    }

    public Long getOwnerId() 
    {
        return ownerId;
    }
    public void setDetailedAddress(String detailedAddress) 
    {
        this.detailedAddress = detailedAddress;
    }

    public String getDetailedAddress() 
    {
        return detailedAddress;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setTag(String tag) 
    {
        this.tag = tag;
    }

    public String getTag() 
    {
        return tag;
    }
    public void setConsigneeName(String consigneeName) 
    {
        this.consigneeName = consigneeName;
    }

    public String getConsigneeName() 
    {
        return consigneeName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("addressId", getAddressId())
            .append("ownerId", getOwnerId())
            .append("detailedAddress", getDetailedAddress())
            .append("phone", getPhone())
            .append("tag", getTag())
            .append("consigneeName", getConsigneeName())
            .append("createTime", getCreateTime())
            .toString();
    }
}
